<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<TITLE></TITLE>
		<META NAME="GENERATOR" Content="Microsoft Visual Studio 7.0">
		<link rel="stylesheet" type="text/css" href="../Meta.css">
	</HEAD>
	<BODY>
		<H1>ArgumentException</H1>
		<H2>What it means</H2>
		<P>It means some low-level procedure in the .NET system complained about an 
			argument it received.&nbsp; This is a generic type of error so you have to look 
			at the specific <FONT face="Arial">Message</FONT> field within the error to 
			find out exactly what it thinks is going wrong.</P>
		<H2>What causes it</H2>
		<P>Because this is so generic, it's hard to say anything specific.&nbsp; This isn't 
			an exception that is triggered directly by Meta, so it would have to be 
			triggered by something in .NET that you were calling.&nbsp; For example, if you 
			call <FONT face="Arial">Math.Sin</FONT> and pass it a bad value like <FONT face="Arial">
				false</FONT>, you'll get this error, whereas Meta's <FONT face="Arial">sin</FONT>
			procedure will produce the <A href="ArgumentTypeException.htm">ArgumentTypeException</A>, 
			which will tell you what the bad argument was and what type it needed.&nbsp; 
			This error could also be triggered if you called some low-level (i.e. non-Meta) 
			code that had just the right kind of bug in it.</P>
		<H2>What to do</H2>
		<P>Look at the <FONT face="Arial">Message</FONT> field and look at the expression 
			that generated the error.&nbsp; Try to make sense of the message in terms of 
			the arguments of the expression.</P>
	</BODY>
</HTML>
